package service;

import entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService{


    int deleteByPrimaryKey(Integer uid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer uid);

    int updateByPrimaryKeySelective(User record);
    User userlogin(String uphone);
    int updateByPrimaryKey(User record);
    List<User> getRight(Integer id);
    List<User> getlike(Integer id);
    List<User> getComment(Integer id);
}
